package com.night.icm.service.base.service.comprehensive_test;

import com.night.icm.model.base.comprehensive_test.StylisticPointDTO;
import com.night.icm.persistence.base.entity.comprehensive_test.ComprehensiveScore;
import com.night.icm.persistence.base.entity.comprehensive_test.StylisticPoint;

/**
 * StylisticPointService
 *
 * @author Liao ZhiYong
 * @date 2020/3/10
 */
public interface StylisticPointService {

    /**
     * 新建
     *
     * @param stylisticPointDTO  文体分
     * @param comprehensiveScore 关联的综合分
     * @return 文体分
     */
    StylisticPoint create(StylisticPointDTO stylisticPointDTO, ComprehensiveScore comprehensiveScore);

    /**
     * 更新文体分
     *
     * @param stylisticPointDTO  文体分
     * @param comprehensiveScore 关联的综合分
     * @return 文体分
     */
    StylisticPoint update(StylisticPointDTO stylisticPointDTO, ComprehensiveScore comprehensiveScore);
}
